package com.yhb.conf;

/**
 * Created by Edward on 2016/8/10.
 */
public class ResultCode extends me.edzh.spring.bootstrap.utils.ResultCode {
    public static final Long CODE_HAS_MORE_VERIFY_CODE = 200L;
    public static final Long CODE_CARD_BOUNDED = 300L;


    public static final Long ERROR_DUPLICATED_MOBILE = -10001L;
    public static final Long ERROR_INVALID_INVITE_CODE = -10002L;
    public static final Long ERROR_INVITE_CODE_GENERATION = -10003L;

    public static final Long ERROR_ALREADY_CERTIFICATED = -10004L;
    public static final Long ERROR_ID_USED = -10005L;
    public static final Long ERROR_REDIS_KEY_NOT_EXIST = -10100L;

    public static final Long ERROR_POS_BOUNDED = -10200L;

    public static final Long ERROR_UNION_CARD_UNSUPPORTED_ERR = -10300L;


    public static final Long ERROR_CHANNEL_CODE_UP_THRESHOLD = -10_000_000L;
    /** 这部分区间的错误码归支付通道 */
    public static final Long ERROR_CHANNEL_CODE_DOWN_THRESHOLD = -99_999_999L;


    public static final Long ERROR_TOAST_ERR = -100_000_000L; /** 小于这个值的code一律toast */
    public static final Long ERROR_FLOW_AVERAGE_OUT_OF_RANGE = ERROR_TOAST_ERR - 1;
    public static final Long ERROR_REAL_NAME_AUTHENTICATION_ERR = ERROR_TOAST_ERR - 2;
    public static final Long ERROR_REQUIRE_GPS = ERROR_TOAST_ERR - 3;
    public static final Long ERROR_UNCERTIFICATED_ERR = ERROR_TOAST_ERR - 4;



    public static final Long ERROR_CARD_DUPLICATED_ERR = ERROR_TOAST_ERR - 100;
    public static final Long ERROR_FAILED_TO_APPLY_VERIFY_CODE_ERR = ERROR_TOAST_ERR - 101;


}
